package com.hhx.test_library.api;

import com.hhx.baselibrary.bean.BaseResponse;
import com.hhx.test_library.bean.Login;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by Administrator on 2019/2/22.
 */

public interface TestService {


    // 登录的请求personal/change_bg_img
    @FormUrlEncoded
    @POST("login/login")
    Observable<BaseResponse<Login>> login(@FieldMap Map<String, Object> map);
}
